﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace B.S.BaseData.Infrastructure.Migrations
{
    public partial class 修改预约表 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "MeetingTemplateId",
                table: "MeetingReservations");

            migrationBuilder.DropColumn(
                name: "MeetingTemplateName",
                table: "MeetingReservations");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "MeetingTemplateId",
                table: "MeetingReservations",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MeetingTemplateName",
                table: "MeetingReservations",
                type: "nvarchar(max)",
                nullable: false,
                defaultValue: "");
        }
    }
}
